<%= error_messages_for 'user' %>

<!--[form:user]-->
<p><label for="user_fullname">Fullname</label><br/>
<%= text_field 'user', 'fullname'  %></p>

<p><label for="user_position">Position</label><br/>
<%
i = 0
result = []
@position.each do |position|
	result[i] = [position.name, position.id]
	i+=1
end
%>
<%= select_tag 'position[]',  
  options_for_select( result ),
  { :multiple => false, :size =>1 } 
%>
</p>

<p><label for="user_login">Login</label><br/>
<%= text_field 'user', 'login'  %></p>

<p><label for="user_password">Password</label><br/>
<%= password_field 'user', 'password'  %></p>
<!--[eoform:user]-->

